{extend name="common/base"}
{block name="data_type"}widgets{/block}

{block name="content"}

<div class="row-content am-cf">


    <div class="row">

        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title am-fl">新增轮播图</div>
                    <div class="widget-function am-fr">
                        <a href="javascript:;" class="am-icon-cog"></a>
                    </div>
                </div>
                <div class="widget-body am-fr">

                    <form class="am-form tpl-form-line-form" method="post" action="{:url('store')}" enctype="multipart/form-data">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">排序 <span class="tpl-form-line-small-title">
                                Ord</span></label>
                            <div class="am-u-sm-9">
                                <input type="number" class="tpl-form-input" id="user-name" name="ord" placeholder="请输入排序序号">
                                <small>序号越小，排在越前</small>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-email" class="am-u-sm-3 am-form-label">跳转地址
                                <span class="tpl-form-line-small-title">Url</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="am-form-field tpl-form-no-bg" name="url" placeholder="跳转地址">
                                <small>轮播图点击跳转地址</small>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-weibo" class="am-u-sm-3 am-form-label">轮播图
                                <span class="tpl-form-line-small-title">Src</span></label>
                            <div class="am-u-sm-9">
                                <div class="am-form-group am-form-file">
                                    <div class="tpl-form-file-img">
                                        <img src="__ADMIN__assets/img/a5.png" alt="">
                                    </div>
                                    <button type="button" class="am-btn am-btn-danger am-btn-sm">
                                        <i class="am-icon-cloud-upload"></i> 添加轮播图片</button>
                                    <input id="doc-form-file" type="file" multiple="" name="src">
                                </div>

                            </div>
                        </div>


                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>


</div>
{/block}